package com.rongke.model;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;

/**
 * @Introducer
 * @介绍人(introducer)
 * @version : Ver 1.0
 */
@TableName("introducer")
public class Introducer implements Serializable {
	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	/**
	 * @备注:介绍人id
	 * @字段:id BIGINT(19)
	 */
	@TableId(type = IdType.AUTO)
	private Long id;


	/**
	 * @备注:昵称
	 * @字段:nick_name VARCHAR(11)
	 */
	private String nickName;


	/**
	 * @备注:真实名称
	 * @字段:real_name VARCHAR(11)
	 */
	private String realName;


	/**
	 * @备注:
	 * @字段:sex ENUM(2)
	 */
	private String sex;


	/**
	 * @备注:年龄
	 * @字段:age INT(10)
	 */
	private Integer age;


	/**
	 * @备注:头像
	 * @字段:avatar_url TEXT(65535)
	 */
	private String avatarUrl;


	/**
	 * @备注:提成比例
	 * @字段:profitability DOUBLE(5)
	 */
	private Double profitability;
	private String phone;

	public Introducer(){
	}

	public Introducer(
		Long id
	){
		this.id = id;
	}



	public void setId(Long id) {
		this.id = id;
	}

	public Long getId() {
		return this.id;
	}


	public void setNickName(String nickName) {
		this.nickName = nickName;
	}

	public String getNickName() {
		return this.nickName;
	}


	public void setRealName(String realName) {
		this.realName = realName;
	}

	public String getRealName() {
		return this.realName;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getSex() {
		return this.sex;
	}


	public void setAge(Integer age) {
		this.age = age;
	}

	public Integer getAge() {
		return this.age;
	}


	public void setAvatarUrl(String avatarUrl) {
		this.avatarUrl = avatarUrl;
	}

	public String getAvatarUrl() {
		return this.avatarUrl;
	}


	public void setProfitability(Double profitability) {
		this.profitability = profitability;
	}

	public Double getProfitability() {
		return this.profitability;
	}
}
